package com.ruoyi.drugSys.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 药物信息对象 drugs
 * 
 * @author ruoyi
 * @date 2024-06-21
 */
public class Drugs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 药物名称 */
    @Excel(name = "药物名称")
    private String drugName;

    /** 药物编号 */
    @Excel(name = "药物编号")
    private String drugNum;

    /** 药物价格 */
    @Excel(name = "药物价格")
    private String drugPrice;

    /** 药物描述 */
    @Excel(name = "药物描述")
    private String describes;

    /** 功能 */
    @Excel(name = "功能")
    private String drugInfo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDrugName(String drugName) 
    {
        this.drugName = drugName;
    }

    public String getDrugName() 
    {
        return drugName;
    }
    public void setDrugNum(String drugNum) 
    {
        this.drugNum = drugNum;
    }

    public String getDrugNum() 
    {
        return drugNum;
    }
    public void setDrugPrice(String drugPrice) 
    {
        this.drugPrice = drugPrice;
    }

    public String getDrugPrice() 
    {
        return drugPrice;
    }
    public void setDescribes(String describes) 
    {
        this.describes = describes;
    }

    public String getDescribes() 
    {
        return describes;
    }
    public void setDrugInfo(String drugInfo) 
    {
        this.drugInfo = drugInfo;
    }

    public String getDrugInfo() 
    {
        return drugInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("drugName", getDrugName())
            .append("drugNum", getDrugNum())
            .append("drugPrice", getDrugPrice())
            .append("describes", getDescribes())
            .append("drugInfo", getDrugInfo())
            .toString();
    }
}
